package com.taxi.apipassenger.myrule;

import org.springframework.beans.factory.ObjectProvider;
import org.springframework.cloud.loadbalancer.core.ReactorServiceInstanceLoadBalancer;
import org.springframework.cloud.loadbalancer.core.ServiceInstanceListSupplier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: Ruomeng
 * @Date: 2023/11/10
 * @Description : online-taxi
 * @Version: 1.0
 */
//@Configuration
public class MyRule {
//    @Bean
//    public ReactorServiceInstanceLoadBalancer myLoadBalancerRule(ObjectProvider<ServiceInstanceListSupplier> serviceInstanceListSuppliers){
//        return new MyLoadBalancerRule(serviceInstanceListSuppliers);
//    }
}
